<!-- Example table -->
<div class="container_12"> 
    <div class="module">
        <h2><span><?php echo $_title; ?></span></h2>
        <div class="module-table-body">
			<div style="margin-top:13px;">
				<?php
				if(isset($errMsg)){?>
					<span class="notification"><?php echo $_MESSESGE[$errMsg];?></span>
				<?php }?>
			</div>
            <table id="myTable" class="tablesorter">
				<thead>
					<tr>
						<th style="width:10%">#</th>
						<th style="width:20%">Venue Item Name</th>
						<th style="width:20%">Venue Item Description</th>
						<th style="width:20%">Venue Item Type</th>
						<th style="width:10%">Venue Item Price</th>
						<th style="width:20%"></th>
					</tr>
				</thead>
					<tbody>      
					<?php 
					$i = 1;
					foreach($venue_item as $row){?>
						<tr>                                
							<td class="align-center"><?php echo $i++;?></td>
							<td><?php echo $row['name'];?></td>
							<td><?php echo $row['description'];?></td>
							<td><?php echo ($row['type'] == 1)?'Fixed Cost':'Variable Cost';?></td>
							<td><?php echo $row['price'];?></td>
							<td>
							<?php   if($row['status']==1){    ?>
								<a href="?action=deactive&id=<?php echo $row['id']?>"><img src="<?php echo _SITE_ADMIN_URL_?>/images/tick-circle.gif" tppabs="<?php echo _SITE_ADMIN_URL_?>/images/tick-circle.gif" width="16" height="16" title="Active" /></a>
							<?php   }else{  ?>
								<a href="?action=active&id=<?php echo $row['id']?>"><img src="<?php echo _SITE_ADMIN_URL_?>/images/minus-circle.gif" tppabs="<?php echo _SITE_ADMIN_URL_?>/images/tick-circle.gif" width="16" height="16" title="DeActive" /></a>
							<?php   }   ?>
								<a href="<?php echo _SITE_ADMIN_URL_?>master/venue_item_edit.php?id=<?php echo $row['id']?>"><img src="<?php echo _SITE_ADMIN_URL_?>/images/pencil.gif" tppabs="<?php echo _SITE_ADMIN_URL_?>/images/pencil.gif" width="16" height="16" title="Edit" /></a>
								<a href="?action=delete&id=<?php echo $row['id']?>" onclick="javascript: return confirm('Please confirm deletion!!');" ><img src="<?php echo _SITE_ADMIN_URL_?>/images/bin.gif" tppabs="<?php echo _SITE_ADMIN_URL_?>/images/bin.gif" width="16" height="16" title="Delete" /></a>
							</td>
						</tr>
						<?php   }   ?>
					</tbody>
				</table>
				
				<div class="pager" id="pager">
					<form action="">
						<div>
						<img class="first" src="<?php echo _SITE_ADMIN_URL_?>/images/arrow-stop-180.gif" tppabs="<?php echo _SITE_ADMIN_URL_?>/images/arrow-stop-180.gif" alt="first"/>
						<img class="prev" src="<?php echo _SITE_ADMIN_URL_?>/images/arrow-180.gif" tppabs="<?php echo _SITE_ADMIN_URL_?>/images/arrow-180.gif" alt="prev"/> 
						<input type="text" class="pagedisplay input-short align-center"/>
						<img class="next" src="<?php echo _SITE_ADMIN_URL_?>/images/arrow.gif" tppabs="<?php echo _SITE_ADMIN_URL_?>/images/arrow.gif" alt="next"/>
						<img class="last" src="<?php echo _SITE_ADMIN_URL_?>/images/arrow-stop.gif" tppabs="<?php echo _SITE_ADMIN_URL_?>/images/arrow-stop.gif" alt="last"/> 
						<select class="pagesize input-short align-center">
							<option value="10" selected="selected">10</option>
							<option value="20">20</option>
							<option value="30">30</option>
							<option value="40">40</option>
						</select>
						</div>
					</form>
				</div>
			<div style="clear: both"></div>
		</div> <!-- End .module-table-body -->
	</div> <!-- End .module -->
</div>